package com.fourth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 银行卡表
 * </p>
 *
 * @author 邓建波
 * @since 2022-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_card_binding")
@ApiModel(value = "CardBinding对象", description = "银行卡绑定表")
public class CardBinding implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "绑定关系编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "银行卡号")
    private String cardId;

    @ApiModelProperty(value = "所属用户id")
    private Long userId;

    @ApiModelProperty(value = "银行卡所属银行")
    private String bank;
}
